cmake_minimum_required(VERSION 3.10)
project(BigIntegerTest)

# 设置 C++ 17 标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 查找 GTest
find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS} include)

# 生成可执行文件
add_executable(BigIntegerTest 
    src/tests.cpp  # ✅ Google Test 入口
    src/LinkedListBigInt.cpp 
    src/StringBigInt.cpp  
    src/ArrayBigInt.cpp 
    src/BoostBigInt.cpp
)

# 链接 Google Test
target_link_libraries(BigIntegerTest PRIVATE ${GTEST_LIBRARIES} pthread)
